package com.socket.entity;

/**
 * Created by sh04799 on 2017/10/20.
 */

public class SpatEntity {
	private int id;
    private String laneSet;//车道编号（与MAP中车道编号对应）
    private int currState;//当前机动车道状态
    private int timeToChange;//状态将要改变的时间点（单位：0.1s）

    public SpatEntity() {
    }

    

    public SpatEntity(int id, String laneSet, int currState, int timeToChange) {
		super();
		this.id = id;
		this.laneSet = laneSet;
		this.currState = currState;
		this.timeToChange = timeToChange;
	}


	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLaneSet() {
        return laneSet;
    }

    public void setLaneSet(String laneSet) {
        this.laneSet = laneSet;
    }

    public int getCurrState() {
        return currState;
    }

    public void setCurrState(int currState) {
        this.currState = currState;
    }

    public int getTimeToChange() {
        return timeToChange;
    }

    public void setTimeToChange(int timeToChange) {
        this.timeToChange = timeToChange;
    }



	@Override
	public String toString() {
		return "SpatEntity [id=" + id + ", laneSet=" + laneSet + ", currState="
				+ currState + ", timeToChange=" + timeToChange + "]";
	}

    
}
